<template>
  <a-config-provider
    :locale="locale"
  >
    <router-view />
  </a-config-provider>
</template>
<script setup>
import { theme } from 'ant-design-vue';
import zhCN from "ant-design-vue/es/locale/zh_CN";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
import themes from "@/themes";
dayjs.locale("zh-cn");
const { darkAlgorithm, compactAlgorithm } = theme;
document.documentElement.style.setProperty('--color-border', themes.token.colorBorder);
document.documentElement.style.setProperty('--bg-color', themes.token.colorBgContainer);
document.documentElement.style.setProperty('--form-search-bg-color', themes.token.colorBgContainer);


const locale = ref(zhCN);

// import Ca from "@/utils/ca";

// console.log(Ca(), 'ca==')
</script>
